import { Button, Pagination } from "antd";
import React from "react";

export default function Fenye(props: {
  page: number;
  //click: any;
  total: number;
}) {
  // const test2 = (value: number) => {
  //   props.click(value);
  // };

  return (
    <div>
      {/* <Button
        onClick={() => {
          test2(2);
        }} */}
      {/* >
        改变page
      </Button> */}    
      <Pagination current={props.page} total={props.total} />s
    </div>
  );
}
